package cn.wbu.zyh.service;

import cn.wbu.zyh.dto.EmployeeDTO;
import cn.wbu.zyh.dto.LoginDTO;
import cn.wbu.zyh.dto.EmployeePageQueryDTO;
import cn.wbu.zyh.entity.Employee;
import cn.wbu.zyh.result.PageResult;

public interface EmployeeService {
    Employee login(LoginDTO loginDTO);

    PageResult pageQuery(EmployeePageQueryDTO employeePageQueryDTO);

    void startOrStop(Integer status, Long id);

    void update(EmployeeDTO employeeDTO);

    void save(EmployeeDTO employeeDTO);
    void register(EmployeeDTO employeeDTO);
}
